package main

import "fmt"

// 结构体定义
type Person struct {
	Name string
	Age uint8
	Address string
}



func main(){

	// 声明结构体
	var p Person

	// 结构体赋值
	p.Name = "xiaoming"
	p.Age = 18
	p.Address = "xuexiao"

	fmt.Printf("p = %v\n", p)
	fmt.Printf("p = %#v\n", p)
}